extract date and time from date time column